package com.wfcm.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 用户充值金币
 * 
 * @author xlf
 * @email xlfbe696@gmail.com
 * @date 2018-03-29 13:17:09
 */
public class WfMemberGoldLogEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//铜钱记录表id
	private Integer id;
	//用户编号
	private Integer userid;
	//金币金额
	private BigDecimal goldvalue;
	//充值订单号
	private String orderNo;
	//状态（1进行中2成功）
	private Integer status;
	//创建时间
	private Date createtime;
	//备注
	private String remarkinfo;
	//类型（1、赚 2、花）
	private Integer type;
	//用户来源
	private String usersource;
	
	private WfMemberEntity memberEntity;
	
	public WfMemberEntity getMemberEntity() {
		return memberEntity;
	}
	public void setMemberEntity(WfMemberEntity memberEntity) {
		this.memberEntity = memberEntity;
	}
	public String getUsersource() {
		return usersource;
	}
	public void setUsersource(String usersource) {
		this.usersource = usersource;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}

	public void setAll(Integer userid, BigDecimal goldvalue, String orderNo, Integer status, Date createtime, Integer type, String usersource) {
		this.userid = userid;
		this.goldvalue = goldvalue;
		this.orderNo = orderNo;
		this.status = status;
		this.createtime = createtime;
		this.type = type;
		this.usersource = usersource;
	}

	/**
	 * 设置：铜钱记录表id
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：铜钱记录表id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：用户编号
	 */
	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	/**
	 * 获取：用户编号
	 */
	public Integer getUserid() {
		return userid;
	}
	/**
	 * 设置：金币金额
	 */
	public void setGoldvalue(BigDecimal goldvalue) {
		this.goldvalue = goldvalue;
	}
	/**
	 * 获取：金币金额
	 */
	public BigDecimal getGoldvalue() {
		return goldvalue;
	}
	/**
	 * 设置：充值订单号
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	/**
	 * 获取：充值订单号
	 */
	public String getOrderNo() {
		return orderNo;
	}
	/**
	 * 设置：状态（1进行中2成功）
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：状态（1进行中2成功）
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreatetime() {
		return createtime;
	}
	/**
	 * 设置：备注
	 */
	public void setRemarkinfo(String remarkinfo) {
		this.remarkinfo = remarkinfo;
	}
	/**
	 * 获取：备注
	 */
	public String getRemarkinfo() {
		return remarkinfo;
	}
}
